package com.xiumu.springbootlearn.exception;

import lombok.Data;

/**
 * @author xiumu
 * @date 2021年07月05日 21:07
 */
@Data
public class BaseException extends RuntimeException {

    //异常的内容
    private CommonException exceptionContent;

    public BaseException(CommonException exceptionContent) {
        this.exceptionContent = exceptionContent;
    }
}
